//* Copyright(C) 2005-2012, all rights reserved.
//*
//* The following code is copyrighted and contains proprietary information
/* and trade secrets of Foxit Software Inc.      
**************************************************************************
*/

/**
Navigation MainFrm鼠标事件接口类
*/


define(function (require, exports, module) {
    /**
     * Mainframe event handler for navigation panel plugin.
     * @param {WebPDF.NavigationPanelPlugin} navigationPanel navigation panel plugin
     * @constructor
     */
    var NavigationPanelMainFrmEventHandler = function (navigationPanel) {
        this._navigationPanel = navigationPanel;
        //var _self = this;
 
        this.onMouseUp = function (event) {
            return false;
        };

    };

    NavigationPanelMainFrmEventHandler.prototype =
    {
        getType: function () {
            return "Navigation Panel";
        },
        onLButtonDown: function (event) {
            return false;
        },
        onLButtonUp: function (event) {
            return this.onMouseUp(event);
        },
        onMouseMove: function (event) {
           return false;
        },
        onMouseOut: function (event) {
            return false;
        },
        onMouseLeave: function (event) {
            return this.onMouseUp(event);
        },
        onSize: function () {
            this._navigationPanel.onMainFrmSize();
        }
    };

    WebPDF.Event.NavigationPanelMainFrmEventHandler = NavigationPanelMainFrmEventHandler;
    return WebPDF.Event.NavigationPanelMainFrmEventHandler;
});